package com.winsdom.vo.resource;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 欠费账单VO
 */
@Data
@ApiModel("欠费账单VO")

public class BillsNotArrearsVO {

    @ApiModelProperty(value = "账单ID")
    private Integer id;

    @ApiModelProperty(value = "楼盘名称")
    private String project_name;

    @ApiModelProperty(value = "客户名称")
    private String customerName;

    @ApiModelProperty(value = "收款账号")
    private Integer paymentId;

    @ApiModelProperty(value = "账单编号")
    private Integer billNumber;

    @ApiModelProperty(value = "通知状态：0-未通知，1-已通知")
    private Boolean notifyStatus;

    @ApiModelProperty(value = "欠费状态(1:未结清, 2:已交清)")
    private Boolean arrearsStatus;

    @ApiModelProperty(value = "计费期间（如 2022-04）")
    private String billingPeriod;

    @ApiModelProperty(value = "应结金额")
    private BigDecimal receivableAmount;

    @ApiModelProperty(value = "欠费金额")
    private BigDecimal arrearsAmount;

    @ApiModelProperty(value = "核销日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime writeOffDate;

}